home *** CD-ROM | disk | FTP | other *** search
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
- <html lang="en"><head><title>Add an Object Factory</title></head>
- <body bgcolor="#FFFFFF" link="#000099" vlink="#555555" alink="#77003B">
-
- <h2>Add an Object Factory</h2>
-
- <dtml-var "HelpSys.HelpButton('Zope-Factory_Add.stx','OFSP')">
-
- <P>A Factory allows you to place entries in the Zope Product add
- list.</P>
-
- <P>In the form below the <EM>Add list name</EM> is the name under which
- your entry will appear in the Zope Product add list.
- The <EM>Method</EM> is the method that will be invoked when a
- user adds a new object. This must be one of the objects in the
- product, typically a Document.
- </P>
-
- <dtml-if objectIds>
- <form action="manage_addPrincipiaFactory" method="POST">
- <table cellspacing="2">
-
- <tr>
- <th align="LEFT" valign="TOP">Id</th>
- <td align="LEFT" valign="TOP"><input type="TEXT" name="id"
- size="40"></td>
- </tr>
-
- <tr>
- <th align="LEFT" valign="TOP">Title</th>
- <td align="LEFT" valign="TOP"><input type="TEXT" name="title"
- size="40"></td>
- </tr>
-
- <tr>
- <th align="LEFT" valign="TOP">Add list name</th>
- <td align="LEFT" valign="TOP"><input type="TEXT" name="object_type"
- size="40"></td>
- </tr>
-
- <tr><th ALIGN="LEFT">Method</th>
- <td ALIGN="LEFT"><select name="initial">
- <dtml-in objectItems>
- <dtml-if "meta_type != 'Principia Factory'">
- <option><dtml-var sequence-key></option>
- </dtml-if>
- </dtml-in>
- </select></td></tr>
-
- <tr><td></td><td><br><input type="SUBMIT" value="Generate"></td></tr>
-
- </table></form>
-
- <dtml-else>
-
- Before you can define a factory, you have to define one or more "methods",
- such as Document or other objects that do the factory's work.
-
- </dtml-if>
-
- </body></html>
-